<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		span{
			color: #fff;
		}
	</style>
	<script>
		

		for (var i =  1; i <=4; i++) {
			for (var k = 1; k <= (4-i); k++) {
				document.write("<span>-</span>");
			}
			for (var j = 1; j <= (i*2)-1; j++) {
				document.write("*");
			}
			document.write("<br>");
		}




	</script>
</head>
<body>
	
</body>
</html>